package se.hiq.demo.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class AddOrderEvent extends GwtEvent<AddOrderEventHandler> {
	
	public static Type<AddOrderEventHandler> TYPE = new Type<AddOrderEventHandler>();

	@Override
	protected void dispatch(AddOrderEventHandler handler) {
		handler.onAddOrder(this);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<AddOrderEventHandler> getAssociatedType() {
		return TYPE;
	}

}
